





#ifndef _MESHREADER_H__
#define _MESHREADER_H__

#include <QObject>
#include <QString>
#include <QFile>
#include <QTextStream>

#include "GmshAPI.hpp"
#include "MeshData.hpp"


NAMESPACE_BEGIN(NSMeshReader)



class MESHAPI MeshReader : public QObject {
	Q_OBJECT

public:
	MeshReader(QObject* parent = nullptr);
	~MeshReader();

	static bool readMSHFile(QString filename, NSMeshData::MeshData& mesh);
	static bool readInpFile(QString filename, NSMeshData::MeshData& mesh);

};

NAMESPACE_END

#endif  //_MESHREADER_H__




